package com.swyc.osschat.Test.shijianlun;

import com.swyc.osschat.Common.Util.SpringUtils;
import com.swyc.osschat.Test.shijianlun.entity.OrderInfo;
import com.swyc.osschat.Test.shijianlun.listener.PayOrderCancelWithNettyListener;
import com.swyc.osschat.Test.shijianlun.service.OrderService;

/**
 * @description TODO
 * @Author: z156940l@outlook.com
 * @className Test
 * @Date: 2023/3/14 16:41
 */
public class Test {
    public static void main(String[] args) {
        OrderInfo orderInfo = new OrderInfo();
        orderInfo.setId(1000L);
        PayOrderCancelWithNettyListener timerTask = new PayOrderCancelWithNettyListener();
        timerTask.buildData(orderInfo);
        NettyDelayQueue.addDelayTaskWithSeconds(timerTask, 10);
    }
}
